package org.jeecg.modules.dlxj.service;

import org.jeecg.modules.dlxj.entity.DlxjCircuitry;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.dlxj.entity.DlxjPole;

import java.util.List;
import java.util.Map;

/**
 * @Description: 线路表
 * @Author: lzl
 * @Date:   2022-07-20
 * @Version: V1.0
 */
public interface IDlxjCircuitryService extends IService<DlxjCircuitry> {

    /**
     * 通过线路id，获得线路名称
     * @param cirIds
     * @return
     */
    public Map<String,String> getCirNameByIds(List<String> cirIds);

    /**
     * 通过线路id，删除杆塔，线路关联表的相关信息
     * @param circuitryCode
     */
    public void deleteCirAndPole(String circuitryCode);

    /**
     * 线路下拉
     * @return
     */
    public List<DlxjCircuitry> selectCircuitry();

    public void bindingPoleAndCir(DlxjCircuitry dlxjCircuitry);
}
